package com.nononsenseapps.feeder.tts

import fr.gaulupeau.apps.Poche.tts.AbstractTtsService
import fr.gaulupeau.apps.Poche.tts.TtsConfig
import fr.gaulupeau.apps.Poche.tts.image.AbstractAlbumArtLoaderTask
import fr.gaulupeau.apps.Poche.tts.image.ImageLoadCallback

class TtsService: AbstractTtsService() {

    override fun getSettings(): TtsConfig {
        return TtsConfigImpl
    }

    override fun createAlbumArtLoaderTask(articleId: Int, metaDataAlbumArtUrl: String, callback: ImageLoadCallback): AbstractAlbumArtLoaderTask {
        return AlbumArtLoaderTaskImpl(this,articleId,metaDataAlbumArtUrl,callback = callback)
    }

}